﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Resource_Edit.aspx.cs" Inherits="Admin.Sys.Resource.Resource_Edit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link href="/App_Themes/Default/Css/Style.css" rel="stylesheet" type="text/css" />
    <link href="/Components/EasyUI/themes/icon.css" rel="stylesheet" type="text/css" />
    <link href="/Components/EasyUI/themes/default/easyui.css" rel="stylesheet" type="text/css" />
    <script src="/Jscript/jquery-1.4.1-vsdoc.js" type="text/javascript"></script>
    <script src="/Components/EasyUI/jquery.easyui.min.js" type="text/javascript"></script>
    <title>对象资源管理</title>
</head>
<body>
    <form id="form1" runat="server">
<!--Title -->
    <table border="0" cellpadding="0" cellspacing="1" style="width: 100%;">
        <tr>
            <td>
            </td>
            <td align="right">
                <table width=200px>
                    <tr>
                        <td>
                <asp:ImageButton ID="imgBtnAdd" ImageUrl="/App_Themes/Default/images/btn_add.gif"
                    runat="server" OnClick="imgBtnAdd_Click" />
                        </td>
                        <td>
                            <asp:ImageButton ID="imgBtnDel" ImageUrl="/App_Themes/Default/images/btn_del.gif" runat="server" onclick="imgBtnDel_Click" OnClientClick="javascript:return confirm('您确定要删除该节点么？');" />
                        </td>
                        <td>
                            <asp:ImageButton ID="imgBtnUpdate" ImageUrl="~/App_Themes/Default/images/btn_update.gif" 
                                runat="server" onclick="imgBtnUpdate_Click" />
                        </td>
                        <td>
                             <asp:ImageButton ID="imgBtnSave" ImageUrl="~/App_Themes/Default/images/btn_save.gif" 
                                 runat="server" onclick="imgBtnSave_Click" Height="21px" />
                        </td>
                        <td>
                           <asp:ImageButton ID="imgBtnCancel" ImageUrl="~/App_Themes/Default/images/btn_cancel.gif" 
                                runat="server" onclick="imgBtnCancel_Click" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>

    <table width="100%" cellpadding="0" cellspacing="0" border="0" style="border: 1px solid #8fc5dd">
        <tr>
            <td>
                <!--Search end-->
                <table height="350px" border="0" width="100%" cellpadding="0" cellspacing="0">
                    <tr>
                        <td width="180">
                        <asp:TreeView ID="TreeView1" runat="server" 
                                onselectednodechanged="TreeView1_SelectedNodeChanged">
                        </asp:TreeView>
                        </td>
                        <td valign="top">
                        
                            <table cellpadding="0" cellspacing="0" width="100%" 
                                style="margin:0px; background-color: #99CCFF; top: 5px; right: 5px; bottom: 5px; left: 5px;" >
                                <tr>
                                    <td colspan="2" align="center" height="50">
                                        <strong>对象资源信息</strong></td>
                                </tr>
                                <tr style="height: 25px">
                                    <td align="right">
                                        名称</td>
                                    <td>
                                        <input id="txtName" type="text" runat="server" /></td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        操作码</td>
                                    <td>
                                        <input id="txtCode" type="text"   runat="server" /></td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        类型</td>
                                    <td>
                                        <asp:DropDownList ID="ddlResourceType" runat="server" Width="129px">
                                        <asp:ListItem Text="" Value=""></asp:ListItem>
                                        <asp:ListItem Text="菜单" Value="0"></asp:ListItem>
                                        <asp:ListItem Text="按钮" Value="1"></asp:ListItem>
                                        <asp:ListItem Text="右键菜单" Value="2"></asp:ListItem>
                                        <asp:ListItem Text="tab页" Value="3"></asp:ListItem>
                                        </asp:DropDownList>
                                     <td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        排序号</td>
                                    <td>
                                        <input id="txtSortNum" type="text"   runat="server" /></td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        链接路径</td>
                                    <td>
                                        <asp:TextBox ID="txtURL" runat="server" Height="112px" TextMode="MultiLine" 
                                            Width="418px"></asp:TextBox>
                                        <asp:HiddenField ID="HiddenResourceId" runat="server" />
                                        <asp:HiddenField ID="HiddenFatherId" runat="server" />
                                    </td>
                                </tr>
                            </table>
                        
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
